﻿using Domain.Entities;
using FluentMigrator;
using FrameworkCore.Extensions;

namespace AiBLSmartEdu.Module.CreditAnalysis.API.Migrations;

[Migration(202409061604)]
public class DocumentAddColumnStatus : ForwardOnlyMigration
{
    public override void Up()
    {
        Alter.Table(MigrationExpressions.GetTableName(typeof(Document)))
            .AddColumn(MigrationExpressions.ColumnNameFor<Document>(nameof(Document.Status)))
            .AsInt32().Nullable();
    }
}